package config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * 系统配置
 *
 * Created by Zhiguo.Chen on 2014-10-31
 */
@Configuration
@ComponentScan(basePackages = {"org.uugu"})
//@Import({MyBatisConfig.class, RedisConfig.class, MvcConfig.class, ShiroClientConfig.class})
@PropertySource("classpath:/application.properties")
public class CXFConfig {

//    @Bean
//    public RequestMappingHandlerMapping requestMappingHandlerMapping() {
//        RequestMappingHandlerMapping mapping = new RequestMappingHandlerMapping();
//        Object[] objects = new Object[] {
//                loginStatusInterceptor()
//        };
//        mapping.setInterceptors(objects);
//        return mapping;
//    }
}
